package com.lemonfish.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.lemonfish.mapper.RolePermissionMapper;
import com.lemonfish.pojo.entity.RolePermission;
import com.lemonfish.service.RolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author Masics 张超
 * @date 2020/3/6 14:58
 */
@Service
public class RolePermissionServiceImpl extends BaseCustomServiceImpl<RolePermissionMapper, RolePermission> implements RolePermissionService {
    @Autowired
    RolePermissionMapper rolePermissionMapper;

    @Override
    public RolePermission selectOne(LambdaQueryWrapper<RolePermission> lqw) {
        return rolePermissionMapper.selectOne(lqw);
    }
}
